package AlarmIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "AlarmInformationIterator".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class AlarmInformationIteratorPOATie
	extends AlarmInformationIteratorPOA
{
	private AlarmInformationIteratorOperations _delegate;

	private POA _poa;
	public AlarmInformationIteratorPOATie(AlarmInformationIteratorOperations delegate)
	{
		_delegate = delegate;
	}
	public AlarmInformationIteratorPOATie(AlarmInformationIteratorOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public AlarmIRPSystem.AlarmInformationIterator _this()
	{
		return AlarmIRPSystem.AlarmInformationIteratorHelper.narrow(_this_object());
	}
	public AlarmIRPSystem.AlarmInformationIterator _this(org.omg.CORBA.ORB orb)
	{
		return AlarmIRPSystem.AlarmInformationIteratorHelper.narrow(_this_object(orb));
	}
	public AlarmInformationIteratorOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(AlarmInformationIteratorOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public boolean next_alarm_informations(short how_many, CosNotification.EventBatchHolder alarm_informations) throws ManagedGenericIRPSystem.InvalidParameter,AlarmIRPSystem.NextAlarmInformations
	{
		return _delegate.next_alarm_informations(how_many,alarm_informations);
	}

	public void destroy()
	{
_delegate.destroy();
	}

}
